package com.jinmdz.fmis.dao.model.search;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.core.base.BasePageData;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 礼厅业务查询实体
 *
 * @author GuanKui
 * @date 2020/2/24 13:48
 */
public class SearchMournCeremonyData extends BasePageData {

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 2)
    private String deadName;

    /**
     * 礼厅业务类型
     */
    @ApiModelProperty(value = "礼厅业务类型", name = "businessType", position = 3)
    private String businessType;

    /**
     * 礼厅日期段，开始日期（含）
     */
    @ApiModelProperty(value = "礼厅日期段，开始日期（含）", name = "appointmentTimeStart", example = "2020-03-07", position = 4)
    @JsonFormat(pattern = BaseBean.yyyy_MM_dd)
    private Date appointmentTimeStart;

    /**
     * 礼厅日期段，截止日期（含）
     */
    @ApiModelProperty(value = "礼厅日期段，截止日期（含）", name = "appointmentTimeEnd", example = "2020-03-07", position = 5)
    @JsonFormat(pattern = BaseBean.yyyy_MM_dd)
    private Date appointmentTimeEnd;

    public String getBusinessCode() {
        return businessCode;
    }

    public SearchMournCeremonyData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public SearchMournCeremonyData setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public String getBusinessType() {
        return businessType;
    }

    public SearchMournCeremonyData setBusinessType(String businessType) {
        this.businessType = businessType;
        return this;
    }

    public Date getAppointmentTimeStart() {
        return appointmentTimeStart;
    }

    public SearchMournCeremonyData setAppointmentTimeStart(Date appointmentTimeStart) {
        this.appointmentTimeStart = appointmentTimeStart;
        return this;
    }

    public Date getAppointmentTimeEnd() {
        return appointmentTimeEnd;
    }

    public SearchMournCeremonyData setAppointmentTimeEnd(Date appointmentTimeEnd) {
        this.appointmentTimeEnd = appointmentTimeEnd;
        return this;
    }
}
